<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Animation Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_animation.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_animation-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Animation Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Describes an animation constituted by a number of frames and transitions between them.   
 <a href="class_vect_sharp_1_1_animation.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae3b5cf2fa1015abc4eaef6d5e1bb06ee"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#ae3b5cf2fa1015abc4eaef6d5e1bb06ee">Animation</a> (double width, double height, double linearisationResolution)</td></tr>
<tr class="memdesc:ae3b5cf2fa1015abc4eaef6d5e1bb06ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_vect_sharp_1_1_animation.html" title="Describes an animation constituted by a number of frames and transitions between them.">Animation</a> with the specified width, height and linearisation resolution.   <a href="class_vect_sharp_1_1_animation.html#ae3b5cf2fa1015abc4eaef6d5e1bb06ee">More...</a><br /></td></tr>
<tr class="separator:ae3b5cf2fa1015abc4eaef6d5e1bb06ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84f6579d77b04cfd7b7f81a88a039cad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#a84f6579d77b04cfd7b7f81a88a039cad">GetFrameAtAbsolute</a> (double time)</td></tr>
<tr class="memdesc:a84f6579d77b04cfd7b7f81a88a039cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the (interpolated) frame that should be displayed after the specified time has passed since the start of the animation.   <a href="class_vect_sharp_1_1_animation.html#a84f6579d77b04cfd7b7f81a88a039cad">More...</a><br /></td></tr>
<tr class="separator:a84f6579d77b04cfd7b7f81a88a039cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a412fec7f73687186b32bf357ea930"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#ab8a412fec7f73687186b32bf357ea930">GetFrameAtRelative</a> (double relativeTime)</td></tr>
<tr class="memdesc:ab8a412fec7f73687186b32bf357ea930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the (interpolated) frame that should be displayed after the specified relative time has passed since the start of the animation.   <a href="class_vect_sharp_1_1_animation.html#ab8a412fec7f73687186b32bf357ea930">More...</a><br /></td></tr>
<tr class="separator:ab8a412fec7f73687186b32bf357ea930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20731dd9abb7217512828263c24e01fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#a20731dd9abb7217512828263c24e01fd">AddFrame</a> (<a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a> frame, <a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a> transition=null)</td></tr>
<tr class="memdesc:a20731dd9abb7217512828263c24e01fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new frame to the animation, with the specified transition.   <a href="class_vect_sharp_1_1_animation.html#a20731dd9abb7217512828263c24e01fd">More...</a><br /></td></tr>
<tr class="separator:a20731dd9abb7217512828263c24e01fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff8c9f96c0e5df5b7cd08b98223f914d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#aff8c9f96c0e5df5b7cd08b98223f914d">RemoveLastFrame</a> ()</td></tr>
<tr class="memdesc:aff8c9f96c0e5df5b7cd08b98223f914d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the last frame from the animation (and the corresponding transition).   <a href="class_vect_sharp_1_1_animation.html#aff8c9f96c0e5df5b7cd08b98223f914d">More...</a><br /></td></tr>
<tr class="separator:aff8c9f96c0e5df5b7cd08b98223f914d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a446b529cac58531d413870fc659b57aa"><td class="memItemLeft" align="right" valign="top">ImmutableList&lt; <a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#a446b529cac58531d413870fc659b57aa">Frames</a> = ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a>&gt;.Empty<code> [get]</code></td></tr>
<tr class="memdesc:a446b529cac58531d413870fc659b57aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">The key frames of the animation.   <a href="class_vect_sharp_1_1_animation.html#a446b529cac58531d413870fc659b57aa">More...</a><br /></td></tr>
<tr class="separator:a446b529cac58531d413870fc659b57aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dee286da52753fd810895e72e253b4d"><td class="memItemLeft" align="right" valign="top">ImmutableList&lt; <a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#a9dee286da52753fd810895e72e253b4d">Transitions</a> = ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a>&gt;.Empty<code> [get]</code></td></tr>
<tr class="memdesc:a9dee286da52753fd810895e72e253b4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The transitions between successive frames of the animation. This array always contains one fewer element than <a class="el" href="class_vect_sharp_1_1_animation.html#a446b529cac58531d413870fc659b57aa" title="The key frames of the animation.">Frames</a>.   <a href="class_vect_sharp_1_1_animation.html#a9dee286da52753fd810895e72e253b4d">More...</a><br /></td></tr>
<tr class="separator:a9dee286da52753fd810895e72e253b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accabc678a9632a84a26ccae198910491"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#accabc678a9632a84a26ccae198910491">Width</a><code> [get, set]</code></td></tr>
<tr class="memdesc:accabc678a9632a84a26ccae198910491"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the animation.   <a href="class_vect_sharp_1_1_animation.html#accabc678a9632a84a26ccae198910491">More...</a><br /></td></tr>
<tr class="separator:accabc678a9632a84a26ccae198910491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf6828acd3c41a2c87e3d7a46aefc29c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#acf6828acd3c41a2c87e3d7a46aefc29c">Height</a><code> [get, set]</code></td></tr>
<tr class="memdesc:acf6828acd3c41a2c87e3d7a46aefc29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the animation.   <a href="class_vect_sharp_1_1_animation.html#acf6828acd3c41a2c87e3d7a46aefc29c">More...</a><br /></td></tr>
<tr class="separator:acf6828acd3c41a2c87e3d7a46aefc29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0dd2a21b50e569e6440a9c939ae9776"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#ac0dd2a21b50e569e6440a9c939ae9776">Background</a> = <a class="el" href="struct_vect_sharp_1_1_colour.html#ae8dc3a457be395b0350db3508424a324">Colour.FromRgba</a>(255, 255, 255, 0)<code> [get, set]</code></td></tr>
<tr class="memdesc:ac0dd2a21b50e569e6440a9c939ae9776"><td class="mdescLeft">&#160;</td><td class="mdescRight">The background colour of the animation.   <a href="class_vect_sharp_1_1_animation.html#ac0dd2a21b50e569e6440a9c939ae9776">More...</a><br /></td></tr>
<tr class="separator:ac0dd2a21b50e569e6440a9c939ae9776"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80783e1852c17993500f05738058f123"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#a80783e1852c17993500f05738058f123">LinearisationResolution</a><code> [get]</code></td></tr>
<tr class="memdesc:a80783e1852c17993500f05738058f123"><td class="mdescLeft">&#160;</td><td class="mdescRight">The absolute length between successive samples to use when linearising <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a>s.   <a href="class_vect_sharp_1_1_animation.html#a80783e1852c17993500f05738058f123">More...</a><br /></td></tr>
<tr class="separator:a80783e1852c17993500f05738058f123"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad14536e64c08c7cb8c9cc688bb01c4fd"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#ad14536e64c08c7cb8c9cc688bb01c4fd">Duration</a> = 0<code> [get]</code></td></tr>
<tr class="memdesc:ad14536e64c08c7cb8c9cc688bb01c4fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The total duration of the animation (not including the number of repeats).   <a href="class_vect_sharp_1_1_animation.html#ad14536e64c08c7cb8c9cc688bb01c4fd">More...</a><br /></td></tr>
<tr class="separator:ad14536e64c08c7cb8c9cc688bb01c4fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3a98ff3f67f152572f043dec42ba4d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_animation.html#ad3a98ff3f67f152572f043dec42ba4d0">RepeatCount</a> = 0<code> [get, set]</code></td></tr>
<tr class="memdesc:ad3a98ff3f67f152572f043dec42ba4d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of times that the animation should repeat.   <a href="class_vect_sharp_1_1_animation.html#ad3a98ff3f67f152572f043dec42ba4d0">More...</a><br /></td></tr>
<tr class="separator:ad3a98ff3f67f152572f043dec42ba4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Describes an animation constituted by a number of frames and transitions between them.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01410">1410</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae3b5cf2fa1015abc4eaef6d5e1bb06ee" name="ae3b5cf2fa1015abc4eaef6d5e1bb06ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3b5cf2fa1015abc4eaef6d5e1bb06ee">&#9670;&#160;</a></span>Animation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Animation.Animation </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>linearisationResolution</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_vect_sharp_1_1_animation.html" title="Describes an animation constituted by a number of frames and transitions between them.">Animation</a> with the specified width, height and linearisation resolution.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>The width of the animation.</td></tr>
    <tr><td class="paramname">height</td><td>The height of the animation.</td></tr>
    <tr><td class="paramname">linearisationResolution</td><td>The absolute length between successive samples to use when linearising <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a>s.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01461">1461</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a20731dd9abb7217512828263c24e01fd" name="a20731dd9abb7217512828263c24e01fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20731dd9abb7217512828263c24e01fd">&#9670;&#160;</a></span>AddFrame()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.Animation.AddFrame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a>&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a>&#160;</td>
          <td class="paramname"><em>transition</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a new frame to the animation, with the specified transition.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">frame</td><td>The new frame to add to the animation.</td></tr>
    <tr><td class="paramname">transition</td><td>The transition that should be applied between the previous frame and the new frame. This parameter is ignored for the first frame. If this is <code>null</code>, the animation will abruptly change from one frame to the next.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01586">1586</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="a84f6579d77b04cfd7b7f81a88a039cad" name="a84f6579d77b04cfd7b7f81a88a039cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84f6579d77b04cfd7b7f81a88a039cad">&#9670;&#160;</a></span>GetFrameAtAbsolute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_page.html">Page</a> VectSharp.Animation.GetFrameAtAbsolute </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the (interpolated) frame that should be displayed after the specified time has passed since the start of the animation.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">time</td><td>The time since the start of the animation (in milliseconds).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> containing the interpolated frame that should be displayed after the specified time has passed since the start of the animation.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01473">1473</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="ab8a412fec7f73687186b32bf357ea930" name="ab8a412fec7f73687186b32bf357ea930"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8a412fec7f73687186b32bf357ea930">&#9670;&#160;</a></span>GetFrameAtRelative()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_page.html">Page</a> VectSharp.Animation.GetFrameAtRelative </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>relativeTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtains the (interpolated) frame that should be displayed after the specified relative time has passed since the start of the animation.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">relativeTime</td><td>The time since the start of the animation (ranging from 0 for the start of the animation, to 1 for the end of the animation).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> containing the interpolated frame that should be displayed after the specified time has passed since the start of the animation.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01576">1576</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="aff8c9f96c0e5df5b7cd08b98223f914d" name="aff8c9f96c0e5df5b7cd08b98223f914d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff8c9f96c0e5df5b7cd08b98223f914d">&#9670;&#160;</a></span>RemoveLastFrame()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.Animation.RemoveLastFrame </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the last frame from the animation (and the corresponding transition).  </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentOutOfRangeException</td><td>Thrown if there are no frames in the animation.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01608">1608</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="ac0dd2a21b50e569e6440a9c939ae9776" name="ac0dd2a21b50e569e6440a9c939ae9776"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0dd2a21b50e569e6440a9c939ae9776">&#9670;&#160;</a></span>Background</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> VectSharp.Animation.Background = <a class="el" href="struct_vect_sharp_1_1_colour.html#ae8dc3a457be395b0350db3508424a324">Colour.FromRgba</a>(255, 255, 255, 0)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The background colour of the animation.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01438">1438</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="ad14536e64c08c7cb8c9cc688bb01c4fd" name="ad14536e64c08c7cb8c9cc688bb01c4fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad14536e64c08c7cb8c9cc688bb01c4fd">&#9670;&#160;</a></span>Duration</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Animation.Duration = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The total duration of the animation (not including the number of repeats).  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01448">1448</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="a446b529cac58531d413870fc659b57aa" name="a446b529cac58531d413870fc659b57aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a446b529cac58531d413870fc659b57aa">&#9670;&#160;</a></span>Frames</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a>&gt; VectSharp.Animation.Frames = ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_frame.html">Frame</a>&gt;.Empty</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The key frames of the animation.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01415">1415</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="acf6828acd3c41a2c87e3d7a46aefc29c" name="acf6828acd3c41a2c87e3d7a46aefc29c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf6828acd3c41a2c87e3d7a46aefc29c">&#9670;&#160;</a></span>Height</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Animation.Height</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The height of the animation.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01433">1433</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="a80783e1852c17993500f05738058f123" name="a80783e1852c17993500f05738058f123"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80783e1852c17993500f05738058f123">&#9670;&#160;</a></span>LinearisationResolution</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Animation.LinearisationResolution</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The absolute length between successive samples to use when linearising <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a>s.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01443">1443</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="ad3a98ff3f67f152572f043dec42ba4d0" name="ad3a98ff3f67f152572f043dec42ba4d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3a98ff3f67f152572f043dec42ba4d0">&#9670;&#160;</a></span>RepeatCount</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int VectSharp.Animation.RepeatCount = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The number of times that the animation should repeat.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01453">1453</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="a9dee286da52753fd810895e72e253b4d" name="a9dee286da52753fd810895e72e253b4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dee286da52753fd810895e72e253b4d">&#9670;&#160;</a></span>Transitions</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a>&gt; VectSharp.Animation.Transitions = ImmutableList&lt;<a class="el" href="class_vect_sharp_1_1_transition.html">Transition</a>&gt;.Empty</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The transitions between successive frames of the animation. This array always contains one fewer element than <a class="el" href="class_vect_sharp_1_1_animation.html#a446b529cac58531d413870fc659b57aa" title="The key frames of the animation.">Frames</a>.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01420">1420</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<a id="accabc678a9632a84a26ccae198910491" name="accabc678a9632a84a26ccae198910491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accabc678a9632a84a26ccae198910491">&#9670;&#160;</a></span>Width</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double VectSharp.Animation.Width</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The width of the animation.  </p>

<p class="definition">Definition at line <a class="el" href="_animation_8cs_source.html#l01428">1428</a> of file <a class="el" href="_animation_8cs_source.html">Animation.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp/<a class="el" href="_animation_8cs_source.html">Animation.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
